# 符号输出
age = 10
name = "张三"
weight = 100.2
print('我叫%s,今年%d,体重是%f千克' % (name, age, weight))
# 保留2位小数
print('我叫%s,今年%d,体重是%.2f千克' % (name, age, weight))


print(f'我叫{name},今年{age},体重是{weight}千克')
